using System.Reflection;
using UnityEngine;

namespace Super
{
	public class SuperBehaviour : MonoBehaviour
	{
		public virtual void OnDestroy()
		{
			if (!TimerManager.CheckIfNotExist())
				TimerManager.UnRegisterAll(this);

			EventManager.UnRegisterAll(this);
		}
	}
}

